package com.zyh.service;

import com.zyh.pojo.User;

import java.util.List;

public interface UserService {
    User findByName(String username)throws Exception;

    void save(String username, String password);

    User findById(Integer id);

    List<User> findAllUserName();
}
